home *** CD-ROM | disk | FTP | other *** search
/ The Games Machine 76 / XENIATGM66.iso / Indiana Jones / Indiana Jones.exe / RESOURCE / PREVIEW.GOB / cog_shw_noledge.cog < prev    next >
Text File  |  1999-11-15  |  1KB  |  59 lines

  1. # Jones 3D Cog Script
  2. #
  3. # gen_Slashvine_talk.cog
  4. #
  5. # Damage the face with Machete to allow move through. 
  6. # Added Indy sayline for bumping into.[SXC & DS]
  7. #
  8. # [TRM & SXC & DS]
  9. #
  10. # (C) 1998 LucasArts Entertainment Co. All Rights Reserved
  11. # ========================================================================================
  12.  
  13. symbols
  14.  
  15. #...............MESSAGES.................
  16.     message        startup
  17.     message        entered
  18.  
  19.  
  20. #...............ACTORS.................
  21.     thing        player                local
  22.     
  23. #...............PROPS.................
  24.     thing        ledge                
  25.  
  26. #...............SURFACE.................
  27.     surface        hangledge
  28.  
  29.  
  30.  
  31.  
  32.  
  33. end
  34.  
  35. # ========================================================================================
  36.  
  37. code
  38.  
  39. startup:
  40.  
  41.     ClearSurfaceFlags(hangledge, 0x1000000);
  42.  
  43. return;
  44.  
  45. # ========================================================================================
  46.  
  47. entered:
  48.  
  49.     if (GetSenderRef() != ledge) return;
  50.  
  51.     Sleep(1.0);
  52.     SetSurfaceFlags(hangledge, 0x1000000);
  53.  
  54. return;
  55.     
  56. # ========================================================================================
  57.  
  58. end
  59.